package com.pzb.goods.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.pzb.common.core.domain.BaseEntity;

/**
 * 商品属性值对象 gd_goods_attribute_value
 * 
 * @author Mr_Wu
 * @date 2021-11-30
 */
public class GdGoodsAttributeValue extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 商户ID */
    private String extAppid;

    /** 商品ID */
    private Long goodsId;

    private String type;

    /** 属性名称 */
    private Long attributeId;

    private String attributeName;

    /** 属性值 */
    private String attributeValue;

    /** 排序号 */
    private Integer sort;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setExtAppid(String extAppid) 
    {
        this.extAppid = extAppid;
    }

    public String getExtAppid() 
    {
        return extAppid;
    }
    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setAttributeId(Long attributeId)
    {
        this.attributeId = attributeId;
    }

    public Long getAttributeId() 
    {
        return attributeId;
    }

    public String getAttributeName() {
        return attributeName;
    }

    public void setAttributeName(String attributeName) {
        this.attributeName = attributeName;
    }

    public void setAttributeValue(String attributeValue)
    {
        this.attributeValue = attributeValue;
    }

    public String getAttributeValue() 
    {
        return attributeValue;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("extAppid", getExtAppid())
            .append("goodsId", getGoodsId())
            .append("attributeId", getAttributeId())
            .append("attributeValue", getAttributeValue())
            .append("sort", getSort())
            .toString();
    }
}
